package com.xin.di.uav.applet.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 文件
 * </p>
 *
 * @author LTQ
 * @since 2023-07-03
 */
@ApiModel(value = "File对象", description = "文件")
public class File implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty("文件地址")
    private String filePath;

    private Integer displayOrder;

    private String fileName;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public Integer getDisplayOrder() {
        return displayOrder;
    }

    public void setDisplayOrder(Integer displayOrder) {
        this.displayOrder = displayOrder;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "File{" +
            "id = " + id +
            ", filePath = " + filePath +
            ", displayOrder = " + displayOrder +
            ", fileName = " + fileName +
            ", createTime = " + createTime +
            ", updateTime = " + updateTime +
        "}";
    }
}
